package com.fix.entity;

import java.io.Serializable;

/**
 * 用户消息
 * @author fix
 *
 */
public class Message implements Serializable {
	private String type;  // 消息类型  列表,私聊,群聊 等
	private String uid;
	private String from;
	private String to;
	private String text;
	private String date;
	
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	@Override
	public String toString() {
		return "Message [type=" + type + ", from=" + from + ", to=" + to + ", text=" + text + ", date=" + date + "]";
	}
}
